Programming With QuickTime VR 2.1

Previous | Overview | Contents | Next

Nudge Mode

The kQTVRInteractionNudgeMode property is used with the functions QTVRGetInteractionProperty (described in the section "QTVRGetInteractionProperty" ) and QTVRSetInteractionProperty (described in the section "QTVRSetInteractionProperty" ) and specifies the type of action to be taken by a nudge. You can use these constants to specify the nudge mode:

typedef enum QTVRNudgeMode {
    kQTVRNudgeRotate                                = 0UL,
    kQTVRNudgeTranslate                             = 1UL,
    kQTVRUNudgeSameAsMouse                          = 2UL
} QTVRNudgeMode;

Constant descriptions

kQTVRNudgeRotate
Set the nudge mode to rotate the object.
kQTVRNudgeTranslate
Set the nudge mode to translate the image.
kQTVRUNudgeSameAsMouse
Set the nudge mode to the same as the current mouse mode.

© 1997 Apple Computer, Inc.

Previous | Overview | Contents | Next